package day05;

import java.util.Scanner;

public class Addition {
    public static void main(String[] args) {
        /*
        for的特殊格式:


         */
        for (int i=1;i<=9;i++){
            if (i==5){
                break;
            }
            System.out.println(i+"*9="+i*9);
        }
        for (int m=1;m<=9;m++){
//            if (m%3==0){
//                continue;
//            }
            if (m%3!=0){}
            System.out.println(m+"*9="+m*9);
        }














        /*
        Scanner scan =new Scanner(System.in);

        int score =0;
        for (int i=1;i<=10;i++){
            //1)出题 2)答题 3)判题   (1)25+39=?
            int a = (int)(Math.random()*100);
            int b = (int)(Math.random()*100);
            int result = a+b;
            System.out.println("("+i+")"+a+"+"+b+"=?");
            int answer = scan.nextInt();
            if (answer==result){
                System.out.println("答对了!");
                score +=10;
            }else {
                System.out.println("答错了!");
            }
        }
        System.out.println("总分为:"+score+"分!");

         */
    }
}
